/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.eng.scc.core.parts;

import java.util.Arrays;
import java.util.List;

/**
 *
 * @author Rafael
 */
public class ActionCategory
{
    private String name = "";
    private List<AbstractApplicationAction> actions = null;

    private ActionCategory()
    {
    }
    
    public ActionCategory( String name, List<AbstractApplicationAction> actions )
    {
        this.name = name;
        this.actions = actions;
    }
    
    
    public ActionCategory( String name, AbstractApplicationAction actions[] )
    {
        this.name = name;
        this.actions = Arrays.asList( actions );
    }

    public String getName()
    {
        return name;
    }

    public void setName( String name )
    {
        this.name = name;
    }

    public List<AbstractApplicationAction> getActions()
    {
        return actions;
    }

    public void setActions( List<AbstractApplicationAction> actions )
    {
        this.actions = actions;
    }
}
